package com.qifenqian.turbot.module.entity.response

/**
 * @author H
 * @createTime 2018/12/20 17:28
 * @description 评论列表
 * @see
 * @since
 */
//缺少昵称
data class CommentEntity(
        var commentContent: String, // 一般
        var commentLevel: Int, // 3
        var createTime: String, // 2019-01-09 10:52:10
        var id: Int, // 1000004
        var imageList: List<Image>,
        var reply: Reply?, // null
        var restaurantId: Int, // 100001
        var userIcon: String, // icon
        var userName: String // 测试用户1号
                        ) {

    data class Image(
            var commentId: Int, // 1000004
            var commentPhotoPath: String, // https://sitfdfs.qifenqian.com/M00/00/02/wKgBEFwr-kiAHux3AAkli5CfJoA147.jpg
            var id: Int // 1000005
                    )

    data class Reply(
            var commentId: Int, // 1000001
            var createTime: String, // 2019-01-07 17:24:10
            var id: Int, // 1
            var replyContent: String, // 欢迎下次光临
            var replyUserCode: String // test001
                    )
}

